import request from '@/utils/request'

export function getRightList(data) {
    return request({
        url: '/api/right/list',
        method: 'get',
        params:{
          "role": data}
    })
}

export function updateRight(data) {
    return request({
        url: '/api/right/update',
        method: 'get',
        params:data
    })
}